from common import *

def CSP_SuccessorFunc(cin, cout):

    while True:
        cout(cin()+1)
 
